package com.ruoyi.yanjing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 特种作业票审批信息对象 c5_special_work_ticket_approval
 * 
 * @author whz
 * @date 2024-12-04
 */
public class SpecialWorkTicketApproval extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 作业票ID */
    @Excel(name = "作业票ID")
    private Long ticketId;

    /** 作业票名称 */
    @Excel(name = "作业票名称")
    private String ticketName;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private String approvalStatus;

    /** 审批人ID */
    @Excel(name = "审批人ID")
    private Long approverId;

    /** 审批人名称 */
    @Excel(name = "审批人名称")
    private String approverName;

    /** 审批日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审批日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvalDate;

    /** 审批备注 */
    @Excel(name = "审批备注")
    private String approvalRemark;

    /** 特种作业开始时间 */
    @Excel(name = "特种作业开始时间")
    private String specialWorkTicketStartTime;

    /** 特种作业结束时间 */
    @Excel(name = "特种作业结束时间")
    private String specialWorkTicketEndTime;

    /** 特种作业地点 */
    @Excel(name = "特种作业地点")
    private String specialWorkTicketLocation;

    /** 特征那个作业操作员 */
    @Excel(name = "特征那个作业操作员")
    private String specialWorkTicketOperator;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String specialWorkTicketApprovalExtra5;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String createName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String updateName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String accountId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTicketId(Long ticketId) 
    {
        this.ticketId = ticketId;
    }

    public Long getTicketId() 
    {
        return ticketId;
    }
    public void setTicketName(String ticketName) 
    {
        this.ticketName = ticketName;
    }

    public String getTicketName() 
    {
        return ticketName;
    }
    public void setApprovalStatus(String approvalStatus) 
    {
        this.approvalStatus = approvalStatus;
    }

    public String getApprovalStatus() 
    {
        return approvalStatus;
    }
    public void setApproverId(Long approverId) 
    {
        this.approverId = approverId;
    }

    public Long getApproverId() 
    {
        return approverId;
    }
    public void setApproverName(String approverName) 
    {
        this.approverName = approverName;
    }

    public String getApproverName() 
    {
        return approverName;
    }
    public void setApprovalDate(Date approvalDate) 
    {
        this.approvalDate = approvalDate;
    }

    public Date getApprovalDate() 
    {
        return approvalDate;
    }
    public void setApprovalRemark(String approvalRemark) 
    {
        this.approvalRemark = approvalRemark;
    }

    public String getApprovalRemark() 
    {
        return approvalRemark;
    }
    public void setSpecialWorkTicketStartTime(String specialWorkTicketStartTime)
    {
        this.specialWorkTicketStartTime = specialWorkTicketStartTime;
    }

    public String getSpecialWorkTicketStartTime()
    {
        return specialWorkTicketStartTime;
    }
    public void setSpecialWorkTicketEndTime(String specialWorkTicketEndTime)
    {
        this.specialWorkTicketEndTime = specialWorkTicketEndTime;
    }

    public String getSpecialWorkTicketEndTime() 
    {
        return specialWorkTicketEndTime;
    }
    public void setSpecialWorkTicketLocation(String specialWorkTicketLocation) 
    {
        this.specialWorkTicketLocation = specialWorkTicketLocation;
    }

    public String getSpecialWorkTicketLocation() 
    {
        return specialWorkTicketLocation;
    }
    public void setSpecialWorkTicketOperator(String specialWorkTicketOperator) 
    {
        this.specialWorkTicketOperator = specialWorkTicketOperator;
    }

    public String getSpecialWorkTicketOperator()
    {
        return specialWorkTicketOperator;
    }
    public void setSpecialWorkTicketApprovalExtra5(String specialWorkTicketApprovalExtra5) 
    {
        this.specialWorkTicketApprovalExtra5 = specialWorkTicketApprovalExtra5;
    }

    public String getSpecialWorkTicketApprovalExtra5() 
    {
        return specialWorkTicketApprovalExtra5;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setAccountId(String accountId) 
    {
        this.accountId = accountId;
    }

    public String getAccountId() 
    {
        return accountId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ticketId", getTicketId())
            .append("ticketName", getTicketName())
            .append("approvalStatus", getApprovalStatus())
            .append("approverId", getApproverId())
            .append("approverName", getApproverName())
            .append("approvalDate", getApprovalDate())
            .append("approvalRemark", getApprovalRemark())
            .append("specialWorkTicketStartTime", getSpecialWorkTicketStartTime())
            .append("specialWorkTicketEndTime", getSpecialWorkTicketEndTime())
            .append("specialWorkTicketLocation", getSpecialWorkTicketLocation())
            .append("specialWorkTicketOperator", getSpecialWorkTicketOperator())
            .append("specialWorkTicketApprovalExtra5", getSpecialWorkTicketApprovalExtra5())
            .append("createId", getCreateId())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("accountId", getAccountId())
            .toString();
    }
}
